#include "Keyboard.hpp"
#include "../Global.hpp"
#include "../Tools/Matrix.hpp"
#include <cstdlib>

#ifdef DEBUG
#include <cstdio>
#endif

void Keyboard(unsigned char key, int x, int y){
	switch(key){
		case 'q':
		case 'Q':
		case  27: // Echap == 27
#ifdef DEBUG
			fprintf(stderr, "Quit\n");
#endif
      //GlobalCleanGL();
      glutLeaveMainLoop();
      break;
    default:
      break;
	}
}

void KeyboardUp(unsigned char key, int x, int y){
	switch(key){
    default :
      break;
  }
}
